package com.lingyuan.discounts.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lingyuan.common.core.domain.vo.sms.UpdateCouponHistoryParam;
import com.lingyuan.discounts.domain.Coupon;
import com.lingyuan.discounts.domain.request.CouponHistoryRequest;
import com.lingyuan.discounts.domain.CouponHistory;
import com.lingyuan.discounts.domain.CouponHistoryResponse;

import java.util.List;

/**
 * @Author: Li Hao Xuan
 * @name: CouponHistoryService
 * @Description TODO
 */
public interface CouponHistoryService extends IService<CouponHistory> {

    List<CouponHistoryResponse> findHistoryList(CouponHistoryRequest couponHistoryRequest);

    void addHistory(CouponHistory couponHistory);

    void updHistory(CouponHistory couponHistory);

    void delHistory(Long id);

    void updHistoryStatus(UpdateCouponHistoryParam param);

    List<Coupon> findCouponId(Long id);
}
